package top.tangyh.lamp.care.vo.result;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.io.Serializable;

@Data
@Schema(description = "观察项病人配置DTO 观察项病人配置DTO")
public class ObsvPtCfgDto implements Serializable {

	@Schema(description = "系统主键",required = false)
	private Long id;

	@Schema(description = "病人识别号,说明：可查询",required = true)
	@NotBlank(message = "病人识别号不能为空")
	private String patientIdent;

	@Schema(description = "病人住院号", required = false)
	private String hospitalNumber;


	@Schema(description = "标识id,或即观察项id ")
	private Long obsvId;

	@Schema(description = "标识,或即观察标识，说明：非复合体为生命特征指标编码如spo2")
	private String obsvCode;

	@Schema(description = "观察项名称")
	private String obsvName;

	@Schema(description = "数据类型，说明：取数据字典name值，值为 integer,float,struct,enum,boolean,string")
	private String dataType;

	@Schema(description = "观察项类型，说明：可查询")
	private String obsvType;

	@Schema(description = "是否可见 0-否，1-是，默认是1")
	private Integer isVisible;

	@Schema(description = "标识单位，如血压的单位为：mmHg")
	private String propUnit;

	@Schema(description = "参考范围下限")
	private String refLower;

	@Schema(description = "参考范围上限")
	private String refUpper;


}
